﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Calc {
	public class Number : IComputable {
		protected decimal number;

		public Number(decimal number) {
			this.number = number;
		}
		public bool TryGetValue(out decimal result) {
			result = number;
			return true;
		}

		public string GetEquation( ) {
			return this.number.ToString( );
		}
	}
}
